Updates general information about an assignment.
Parent Type: SlkStore
Namespace: Microsoft.SharePointLearningKit
Assembly: Microsoft.SharePointLearningKit.dll
| C# |
|
public void SetAssignmentProperties ( ) |
assignmentId
The AssignmentItemIdentifier of the assignment to store information about.
newProperties
An AssignmentProperties object containing updated information about the assignment. The following properties of AssignmentProperties are not updatable and are ignored: SPSiteGuid, SPWebGuid, CreatedBy, DateCreated. Also, within AssignmentProperties.Instructors and AssignmentProperties.Learners, all properties except UserId are ignored.
| Exception type | Condition |
| SafeToDisplayException | An error occurred that can be displayed to a browser user. Possible cause: the user isn't an instructor on the assignment. |
Security: This operation fails if the current user isn't an instructor on the assignment.